﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Ime-plugin</title>
<style type="text/css">
/*clearfix*/
.clearfix:after{content:'.';display:block;height:0;clear:both;visibility:hidden;}
.clearfix{display:inline-block;}
* html .clearfix {height: 1%;} 
.clearfix {display: block;} 
html{overflow:hidden;}
body{font-size:12px;font-family:"宋体";background:#fff;color:#010101;-moz-user-select:none;}
body,div,input,p{margin:0;padding:0;}
img{border:0 none;}
.main{width:425px;height:293px;overflow:hidden;padding:3px 4px 3px 3px;}
.innerBox{border:1px solid #dcdcdc;padding:3px;height:286px;overflow:auto;}
.pluginCon{padding:6px;height:56px;}
.selected{border-top:1px solid #a5b3c4;border-left:1px solid #a5b3c4;background:#d0e3f9;}
.relative{position:relative;}
.fl{float:left;}
.fr{float:right;}
.fb{font-weight:bold;}
.btn{display: inline-block;margin-right:4px;width:51px;height:20px;text-align:center;line-height:20px;cursor:pointer;background:url(img/ime.png) -79px -14px;border:0 none;color:#010101;}
.btn:hover{background:url(img/ime.png) -79px -41px;}
.btn.disabled{background:url(img/ime.png) -79px -68px;cursor:default;color:#9d9d9d;}
.mr9{margin-right:9px;}
.mr108{margin-right:108px;}
.detailInfo{width:328px;}
.detailInfo p{margin-bottom:4px;width:326px;height:16px;line-height:16px;}
.pInfo{color:#000;}
.h16{height:16px;}
.pImg{width:48px;height:48px;}
.noinstall,.isStart,.noStart{margin-right:5px;color:#e21b0c;padding-left:20px;background:url(img/ime.png) -146px -67px;height:16px;line-height:16px;}
.isStart{color:#47be27;background-position:-146px -41px;}
.noStart{color:#9d9d9d;background-position:-146px -16px;}
.quickA{color:#0048ff;text-decoration:underline;cursor:pointer;}
.Progress{margin-top:6px;display:inline-block;width:235px;border:1px solid #008ae0;margin-right:5px;float:left;}
.percentage{display:inline-block;width:20px;color:#252525;margin-right:8px;float:left;}
.ProgressBar{background:#008ae0;height:5px;width:1px;}
.processStatus{margin-right:20px;color:#9d9d9d;}
.dis{display:none;}
.btnCon{height:20px;line-height:20px;}
</style>

</head>
<body>
   <div class="main">
     <div id="innerBox" class="innerBox">
	 </div>
   </div>
<script type="text/javascript" src="js/ime-plugin.js"></script>
<script type="text/javascript">
   //imePlugin.render('','innerBox');
   
   //刷新快捷键的信息
   //参数1-快捷键ID ----参数2 快捷键值
   //imePlugin.refreshQuick('HandInput','Ctrl+Shift+A');
   
   //刷新p1里面的状态
   //参数1-快捷键ID ----参数2 状态0|1|2
   //imePlugin.refreshStatusInfo('HandInput',2);
   
   //检测是否有升级
   //参数1-快捷键ID ----参数2 true|false 默认是false ---true代表有更新
   //imePlugin.AfterUpdateCheck('jietu2',true);
   
   
   /*控制进度条
      参数1-快捷键ID 
      参数2-data {
                   error:true  //如果出错的时候出现
				   percentage:20  //百分比
				 }
	  参数3-type 0 安装 默认值0
                 1 升级 		 
   */
   //imePlugin.setProcessBar(pID,data,type);
   
   //卸载后调用----失败的不考虑？
   //imePlugin.AfterUnstall(pID)
   
   //禁用之后
   //imePlugin.AfterStop(pID)
   //imePlugin.setProcessBar('HandInput','','100');
   //alert(/msie (\d+\.\d+)/i.test(navigator.userAgent) ? (document.documentMode || + RegExp['\x241']) : undefined );
</script>   
</body>
</html>